package com.ruicar.afs.cloud.apply;

import com.ruicar.afs.cloud.common.core.security.annotation.EnableAfsFeignClients;
import com.ruicar.afs.cloud.common.core.security.annotation.EnableAfsResourceServer;
import com.ruicar.afs.cloud.common.job.annotation.EnableAfsCloudJob;
import com.ruicar.afs.cloud.common.swagger.annotation.EnableAfsSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @description: 进件子系统
 * @author: sijun.yu
 * @date: 2020/5/9 13:16
 */
@EnableAfsSwagger2
@SpringCloudApplication
@EnableAfsFeignClients
@EnableAfsResourceServer(details = true)
@Configuration
@EnableDiscoveryClient
@EnableAfsCloudJob
@ComponentScan({"com.ruicar.afs.cloud.apply", "com.ruicar.afs.cloud.bizcommon","com.ruicar.afs.cloud.parameter", "com.ruicar.afs.cloud.image", "com.ruicar.afs.cloud.archive","com.ruicar.afs.cloud.message"})
public class AfsApplyApplication {
    public static void main(String[] args) {
        SpringApplication.run(AfsApplyApplication.class, args);
    }
}
